package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaClinicPerson;
import com.yiyahui.project.erp.domain.requestVo.SearchRequest;

/**
 * 到店患者信息Service接口
 * 
 * @author yiyahui
 * @date 2020-05-08
 */
public interface IYiyaClinicPersonService 
{
    /**
     * 查询到店患者信息
     * 
     * @param id 到店患者信息ID
     * @return 到店患者信息
     */
    public YiyaClinicPerson selectYiyaClinicPersonById(Long id);

    /**
     * 查询到店患者信息列表
     * 
     * @param yiyaClinicPerson 到店患者信息
     * @return 到店患者信息集合
     */
    public List<YiyaClinicPerson> selectYiyaClinicPersonList(YiyaClinicPerson yiyaClinicPerson);

    /**
     * 新增到店患者信息
     * 
     * @param yiyaClinicPerson 到店患者信息
     * @return 结果
     */
    public int insertYiyaClinicPerson(YiyaClinicPerson yiyaClinicPerson);

    /**
     * 修改到店患者信息
     * 
     * @param yiyaClinicPerson 到店患者信息
     * @return 结果
     */
    public int updateYiyaClinicPerson(YiyaClinicPerson yiyaClinicPerson);

    /**
     * 批量删除到店患者信息
     * 
     * @param ids 需要删除的到店患者信息ID
     * @return 结果
     */
    public int deleteYiyaClinicPersonByIds(Long[] ids);

    /**
     * 删除到店患者信息信息
     * 
     * @param id 到店患者信息ID
     * @return 结果
     */
    public int deleteYiyaClinicPersonById(Long id);

    /**
     * 跟进ids查列表
     * @param ids
     * @return
     */
    List<YiyaClinicPerson> selectByIds(List<Long> ids);

    List<YiyaClinicPerson> selectByNameOrPhone(SearchRequest searchRequest);

    String getPhoneByIds(String ids);
}
